function [c_matrCHOL, c_matrCHOLLeft] = CholeskyTestFromFile(fileName, blockSize)

[matrixSize, c_matrHP] = leggiDaFile(fileName);

% fprintf(1, 'Execute the Cholesky Factorization on the matrix\n');
c_matrCHOL = single(chol(single((c_matrHP))))

% fprintf(1, 'Execute the Cholesky Factorization Right Looking on the following matrix\n');
% c_matrHP
% c_matrCHOLRight = single(CholeskyBlockComplexProc(matrixSize, blockSize, c_matrHP));

fprintf(1, 'Execute the Cholesky Factorization Right Looking on the following matrix\n');
c_matrHP
c_matrCHOLLeft = single(choleskyBlockComplexProc(matrixSize, blockSize, c_matrHP));

fprintf(1, 'Test di correttezza: ');
%L
%errore percentuale
diff = tril((c_matrCHOLLeft - c_matrCHOL)./c_matrCHOL)
fprintf(1,'\n\nFINE CALCOLO\n\n');



